package net.awpspace.mobile.management.book;

/**
 * Model: Book
 * 
 * @author Diep
 * 
 */
public class BookModel {

	/**
	 * Available commands
	 */
	public static final int RS_INSERT = 1;
	public static final int RS_UPDATE = 2;
	public static final int RS_DELETE = 3;

	private int id;
	private String name;
	private String author;
	private String image;
	private String description;

	public BookModel(int id) {
		this(id, null, null, null, null);
	}

	public BookModel(int id, String name, String author, String image,
			String description) {
		this.id = id;
		this.name = name;
		this.author = author;
		this.image = image;
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getId() {
		return id;
	}
}
